home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 23 / Amiga Format AFCD23 (Feb 1998, Issue 107).iso / -seriously_amiga- / shareware / programming / other / cop / ddts / startup.ddt < prev   
Text File  |  1997-12-01  |  11KB  |  567 lines

  1. ******************************************************************************
  2. ** COP    startup data description table                        **
  3. ** © 1996-1997 THOR-Software                            **
  4. **--------------------------------------------------------------------------**
  5. ** See COP.doc for description of the entries                    **
  6. ******************************************************************************
  7.  
  8. ;Define some gurus
  9. ##increment 1
  10. ##offset 2
  11. ##guru
  12. "bus error"
  13. "address error"
  14. "illegal instruction"
  15. "zero divide"
  16. "chk instruction"
  17. "TRAPV instruction"
  18. "privilege violation"
  19. "trace"
  20. "line A emulator"
  21. "line F emulator"
  22. "reserved autovector $0c"
  23. "coprocessor protocol violation"
  24. "format error"
  25. "reserved autovector $0f"
  26. "reserved autovector $10"
  27. "reserved autovector $11"
  28. "reserved autovector $12"
  29. "reserved autovector $13"
  30. "reserved autovector $14"
  31. "reserved autovector $15"
  32. "reserved autovector $16"
  33. "reserved autovector $17"
  34. "spurious interrupt"
  35. "level 1 IRQ autovector"
  36. "level 2 IRQ autovector"
  37. "level 3 IRQ autovector"
  38. "level 4 IRQ autovector"
  39. "level 5 IRQ autovector"
  40. "level 6 IRQ autovector"
  41. "level 7 IRQ autovector"
  42. "trap #0"
  43. "trap #1"
  44. "trap #2"
  45. "trap #3"
  46. "trap #4"
  47. "trap #5"
  48. "trap #6"
  49. "trap #7"
  50. "trap #8"
  51. "trap #9"
  52. "trap #a"
  53. "trap #b"
  54. "trap #c"
  55. "trap #d"
  56. "trap #e"
  57. "trap #f"
  58. "FPCP branch or set on unordered condition"
  59. "FPCP inexact result"
  60. "FPCP divide by zero"
  61. "FPCP underflow"
  62. "FPCP operand error"
  63. "FPCP overflow"
  64. "FPCP signaling NAN"
  65. "FPCP reserved exception"
  66. "MMU configuration error"
  67. ;Specific alerts
  68. ##offset $01000001
  69. "68K exeption vector checksum"
  70. "execbase checksum bad"
  71. "library checksum failure"
  72. ##offset $81000005
  73. "memory corrupt"
  74. "no memory for interrupt server"
  75. ##offset $01000007
  76. "initStruct failed"
  77. "semaphore in illegal state"
  78. "memory freed twice"
  79. ##offset $8100000A
  80. "illegal 68K exection taken"
  81. ##offset $0100000B
  82. "attempt to reuse active IORequest"
  83. "memory insane"
  84. "IO attempted on closed IORequest"
  85. "memory header not located"
  86. "invalid message semaphore"
  87. ##offset $810000FF
  88. "uninitialized quick interrupt"
  89.  
  90. ;------- graphics.library
  91. ##offset $82010000
  92. "gfx out of memory"
  93. "gfx out of memory for monitor specs"
  94. ##offset $82010006
  95. "gfx out of memory for long frame"
  96. "gfx out of memory for short frame"
  97. "gfx out of memory for TmpRas"
  98. "gfx out of memory for BltBitMap"
  99. "gfx out of memory for regions"
  100. ##offset $82010030
  101. "gfx out of memory for MakeVPort"
  102. ##offset $0200000C
  103. "gfx new object failed"
  104. "gfx free object failed"
  105. ##offset $82011234
  106. "gfx emercency memory not available"
  107. ##offset $02000401
  108. "gfx obsolete font"
  109.  
  110. ;------ layers.library
  111. ##offset $83010000
  112. "layers out of memory"
  113.  
  114. ;------ intuition.library
  115. ##offset $84000001
  116. "intuition unknown gadget type"
  117. ##offset $04000001
  118. "intuition bad gadget type"
  119. ##offset $84010002
  120. "intuition no mem for CreatePort"
  121. ##offset $04010003
  122. "intuition no mem for item plane"
  123. "intuition sub allocation failed"
  124. ##offset $84010005
  125. "intuition plane allocation failed"
  126. ##offset $84000006
  127. "intuition box top < RelZero"
  128. ##offset $84010007
  129. "intuition open screen out of mem"
  130. "intuition raster alloc failed"
  131. ##offset $84000009
  132. "intuition open sys screen unknown type"
  133. ##offset $8401000A
  134. "intuition add SW gadget no mem"
  135. "intuition open window no mem"
  136. ##offset $8400000C
  137. "intuition bad state return entering intuition"
  138. "intuition bad message received by IDCMP"
  139. "intuition weird echo causing incomprehension"
  140. "intuition couldn't open the Console Device"
  141. "intuition skipped obtaining a sem"
  142. "intuition obtained a sem in bad order"
  143.  
  144. ;------ dos.library
  145. ##offset $07010001
  146. "dos no mem at startup"
  147. "dos EndTask didn't"
  148. "dos Qpkt failure"
  149. "dos unexpected packet received"
  150. "dos freevec failed"
  151. "dos disk block sequence error"
  152. "dos bitmap corrupt"
  153. "dos key aleady defined"
  154. "dos invalid checksum"
  155. "dos disk error"
  156. "dos key out of range"
  157. "dos bad overlay"
  158. "dos invalid packed for cli/shell"
  159. "dos filehandle reclosed"
  160.  
  161. ;------ ramlib.library
  162. ##offset $08000001
  163. "ramlib overlays invalid"
  164.  
  165. ;------ expansion.library
  166. ##offset $0A000001
  167. "expansion freeed free region"
  168.  
  169. ;------ console.device
  170. ##offset $11000001
  171. "console can't open initial window"
  172.  
  173. ;------ trackdisk.device
  174. ##offset $14000001
  175. "trackdisk calibrate seek error"
  176. "trackdisk delay error on timer wait"
  177.  
  178. ;------    timer.device
  179. ##offset $15000001
  180. "timer bad request"
  181. "timer power supply bad ticks"
  182.  
  183. ;------    disk.resource
  184. ##offset $21000001
  185. "disk get unit has already disk"
  186. "disk interrupt no active unit"
  187.  
  188. ;------ bootstrap
  189. ##offset $30000001
  190. "bootstrap code returned error"
  191.  
  192. ;------ workbench
  193. ##offset $B1000001
  194. "workbench missing fonts"
  195. ##offset $31000001
  196. "workbench bad startupmsg1"
  197. "workbench bad startupmsg2"
  198. "workbench bad IO msg"
  199. ##offset $B1010009
  200. "workbench relayout toolmenu failed"
  201.  
  202. ;First, we include some of the main offsets
  203. ##increment -6        ;Default increment for libs
  204.             ;we don't set the bias, this is done by the libs...
  205.  
  206. ;exec first
  207. ##vectors exec.library    ;name of the game
  208. ##include FD:exec_lib.fd
  209. ;gfx
  210. ##vectors graphics.library
  211. ##include FD:graphics_lib.fd
  212. ;layers
  213. ##vectors layers.library
  214. ##include FD:layers_lib.fd
  215. ;intuituition
  216. ##vectors intuition.library
  217. ##include FD:intuition_lib.fd
  218. ;dos
  219. ##vectors dos.library
  220. ##include FD:dos_lib.fd
  221. ;utility
  222. ##vectors utility.library
  223. ##include FD:utility_lib.fd
  224. ;gadtools.library
  225. ##vectors gadtools.library
  226. ##include FD:gadtools_lib.fd
  227. ;iffparse.library
  228. ##vectors iffparse.library
  229. ##include FD:iffparse_lib.fd
  230. ;workbench.library
  231. ##vectors workbench.library
  232. ##include FD:workbench_lib.fd
  233.  
  234. ;Include your own stuff here...
  235.  
  236.  
  237. ;We know involve here the pseudo-assembler...
  238. ;hope it works...
  239.  
  240. ##equate            ;we now define some equates
  241.  
  242. ##include INCLUDE:exec/lists.i
  243. ##include INCLUDE:exec/nodes.i
  244. ##include INCLUDE:exec/interrupts.i
  245. ##include INCLUDE:exec/libraries.i
  246. ##include INCLUDE:exec/ports.i
  247. ##include INCLUDE:exec/tasks.i
  248. ##include INCLUDE:exec/semaphores.i
  249.                 ;we are now ready to define execbase !
  250. ##node exec.library        ;Define execbase
  251. ##include INCLUDE:exec/execbase.i
  252.  
  253. ##equate
  254. ##include INCLUDE:utility/tagitem.i
  255.  
  256. ##equate
  257. ##include INCLUDE:graphics/gfx.i
  258. ##include INCLUDE:graphics/gfxnodes.i
  259. ##include INCLUDE:graphics/copper.i
  260. ##include INCLUDE:graphics/view.i
  261. ##include INCLUDE:graphics/displayinfo.i
  262. ##include INCLUDE:graphics/monitor.i
  263.  
  264. ##node graphics.library
  265. ##include INCLUDE:graphics/gfxbase.i
  266.  
  267. ##node dos.library
  268.  STRUCTURE DosLibrary,0
  269.     STRUCT  dl_lib,LIB_SIZE
  270.     APTR    dl_Root         * Pointer to RootNode, described below
  271.     APTR    dl_GV         * Pointer to BCPL global vector
  272.     LONG    dl_A2         * BCPL standard register values
  273.     LONG    dl_A5
  274.     LONG    dl_A6
  275.     APTR    dl_Errors         * PRIVATE pointer to array of error msgs
  276.     APTR    dl_TimeReq         * PRIVATE pointer to timer request 
  277.     APTR    dl_UtilityBase   * PRIVATE pointer to utility library base
  278.     APTR    dl_IntuitionBase * PRIVATE pointer to intuition library base
  279.     LABEL   dl_SIZEOF *     DosLibrary
  280.  
  281. ;and now the hardware stuff... we do not use the system includes here,
  282. ;cause they are equates...
  283. ;but we need relative entries !
  284. ##relative $dff000
  285. ##offset 0
  286.     UWORD    CustomBase     
  287.     UWORD    dmaconr     
  288.     UWORD    vposr        
  289.     UWORD    vhposr        
  290.     UWORD    dskdatr     
  291.     UWORD    joy0dat     
  292.     UWORD    joy1dat     
  293.     UWORD    clxdat        
  294.  
  295.     UWORD    adkconr     
  296.     UWORD    pot0dat     
  297.     UWORD    pot1dat     
  298.     UWORD     potinp        
  299.     UWORD    serdatr     
  300.     UWORD    dskbytr     
  301.     UWORD    intenar     
  302.     UWORD    intreqr     
  303.  
  304.     APTR    dskpt        
  305.     UWORD    dsklen        
  306.     UWORD    dskdat        
  307.     UWORD    refptr        
  308.     UWORD    vposw        
  309.     UWORD    vhposw        
  310.     UWORD    copcon        
  311.     UWORD    serdat        
  312.     UWORD    serper        
  313.     UWORD    potgo        
  314.     UWORD    joytest     
  315.     UWORD    strequ        
  316.     UWORD    strvbl        
  317.     UWORD    strhor        
  318.     UWORD    strlong     
  319.  
  320.     UWORD    bltcon0     
  321.     UWORD    bltcon1     
  322.     UWORD    bltafwm     
  323.     UWORD    bltalwm     
  324.     APTR    bltcpt        
  325.     APTR    bltbpt        
  326.     APTR    bltapt        
  327.     APTR    bltdpt        
  328.     UWORD    bltsize  
  329.     UWORD    bltsizv     
  330.     UWORD    bltsizh     
  331.  
  332.     WORD    bltcmod     
  333.     WORD    bltbmod     
  334.     WORD    bltamod   
  335.     WORD    bltdmod     
  336.  
  337. ##offset $70
  338.     UWORD    bltcdat     
  339.     UWORD    bltbdat     
  340.     UWORD    bltadat     
  341.  
  342. ##offset $7c
  343.     UWORD    deniseid    
  344.     UWORD    dsksync     
  345.  
  346. ##offset $80
  347.     APTR    cop1lc        
  348.     APTR    cop2lc        
  349.     UWORD    copjmp1     
  350.     UWORD    copjmp2   
  351.     UWORD    copins        
  352.     UWORD    diwstrt     
  353.     UWORD    diwstop     
  354.     UWORD    ddfstrt     
  355.     UWORD    ddfstop     
  356.     UWORD    dmacon        
  357.     UWORD    clxcon        
  358.     UWORD    intena        
  359.     UWORD    intreq        
  360.     UWORD    adkcon        
  361.  
  362. ##offset $a0
  363.     APTR    ac_ptr0
  364.     UWORD    ac_len0
  365.     UWORD    ac_per0
  366.     UWORD    ac_vol0
  367.     UWORD    ac_dat0
  368.  
  369. ##offset $b0
  370.     APTR    ac_ptr1
  371.     UWORD    ac_len1
  372.     UWORD    ac_per1
  373.     UWORD    ac_vol1
  374.     UWORD    ac_dat1
  375.  
  376. ##offset $c0
  377.     APTR    ac_ptr2
  378.     UWORD    ac_len2
  379.     UWORD    ac_per2
  380.     UWORD    ac_vol2
  381.     UWORD    ac_dat2
  382.  
  383. ##offset $d0
  384.     APTR    ac_ptr3
  385.     UWORD    ac_len3
  386.     UWORD    ac_per3
  387.     UWORD    ac_vol3
  388.     UWORD    ac_dat3
  389.  
  390. ##offset $e0
  391.     APTR    bplpt0
  392.     APTR    bplpt1
  393.     APTR     bplpt2
  394.     APTR    bplpt3
  395.     APTR    bplpt4
  396.     APTR    bplpt5
  397.     APTR    bplpt6
  398.     APTR    bplpt7
  399.  
  400. ##offset $100
  401.     UWORD    bplcon0     
  402.     UWORD    bplcon1     
  403.     UWORD    bplcon2     
  404.     UWORD    bplcon3     
  405.     WORD    bpl1mod
  406.     WORD    bpl2mod     
  407.     WORD    bplcon4     
  408.     WORD    clxcon2     
  409.  
  410. ##offset $110
  411.     UWORD    bpldat0        
  412.     UWORD    bpldat1
  413.     UWORD    bpldat2        
  414.     UWORD    bpldat3        
  415.     UWORD    bpldat4        
  416.     UWORD    bpldat5        
  417.     UWORD    bpldat6        
  418.     UWORD    bpldat7        
  419.  
  420. ##offset $120
  421.     APTR    sprpt0
  422.     APTR    sprpt1
  423.     APTR    sprpt2
  424.     APTR    sprpt3
  425.     APTR    sprpt4
  426.     APTR    sprpt5
  427.     APTR    sprpt6
  428.     APTR    sprpt7
  429.  
  430. ##offset $140
  431.     UWORD    sd_pos0
  432.     UWORD    sd_ctl0
  433.     UWORD    sd_dataa0
  434.     UWORD    sd_datab0
  435.  
  436.     UWORD    sd_pos1
  437.     UWORD    sd_ctl1
  438.     UWORD    sd_dataa1
  439.     UWORD    sd_datab1
  440.  
  441.     UWORD    sd_pos2
  442.     UWORD    sd_ctl2
  443.     UWORD    sd_dataa2
  444.     UWORD    sd_datab2
  445.  
  446.     UWORD    sd_pos3
  447.     UWORD    sd_ctl3
  448.     UWORD    sd_dataa3
  449.     UWORD    sd_datab3
  450.  
  451.     UWORD    sd_pos4
  452.     UWORD    sd_ctl4
  453.     UWORD    sd_dataa4
  454.     UWORD    sd_datab4
  455.  
  456.     UWORD    sd_pos5
  457.     UWORD    sd_ctl5
  458.     UWORD    sd_dataa5
  459.     UWORD    sd_datab5
  460.  
  461.     UWORD    sd_pos6
  462.     UWORD    sd_ctl6
  463.     UWORD    sd_dataa6
  464.     UWORD    sd_datab6
  465.  
  466.     UWORD    sd_pos7
  467.     UWORD    sd_ctl7
  468.     UWORD    sd_dataa7
  469.     UWORD    sd_datab7
  470.  
  471. ##offset $180
  472.     UWORD    color00
  473.     UWORD    color01
  474.     UWORD    color02
  475.     UWORD    color03
  476.     UWORD    color04
  477.     UWORD    color05
  478.     UWORD    color06
  479.     UWORD    color07
  480.     UWORD    color08
  481.     UWORD    color09
  482.     UWORD    color10
  483.     UWORD    color11
  484.     UWORD    color12
  485.     UWORD    color13
  486.     UWORD    color14
  487.     UWORD    color15
  488.     UWORD    color16
  489.     UWORD    color17
  490.     UWORD    color18
  491.     UWORD    color19
  492.     UWORD    color20
  493.     UWORD    color21
  494.     UWORD    color22
  495.     UWORD    color23
  496.     UWORD    color24
  497.     UWORD    color25
  498.     UWORD    color26
  499.     UWORD    color27
  500.     UWORD    color28
  501.     UWORD    color29
  502.     UWORD    color30
  503.     UWORD    color31
  504.  
  505. ##offset $1c0
  506.     UWORD    htotal        
  507.     UWORD    hsstop        
  508.     UWORD    hbstrt        
  509.     UWORD    hbstop        
  510.     UWORD    vtotal        
  511.     UWORD    vsstop        
  512.     UWORD    vbstrt        
  513.     UWORD    vbstop        
  514.     UWORD    sprhstrt    
  515.     UWORD    sprhstop    
  516.     UWORD    bplhstrt    
  517.     UWORD    bplhstop    
  518.     UWORD    hhposw        
  519.     UWORD    hhposr        
  520.     UWORD    beamcon0    
  521.     UWORD    hsstrt        
  522.     UWORD    vsstrt        
  523.     UWORD    hcenter     
  524.     UWORD    diwhigh
  525. ##offset $1fc
  526.     UWORD    fmode        
  527.  
  528. ##relative $bfe001
  529. ##offset 0
  530. ##increment $100
  531. ciaapra
  532. ciaaprb
  533. ciaaddra
  534. ciaaddrb
  535. ciaatalo
  536. ciaatahi
  537. ciaatblo
  538. ciaatbhi    
  539. ciaatodlow    
  540. ciaatodmid    
  541. ciaatodhi    
  542. ciaasdr        
  543. ciaaicr        
  544. ciaacra        
  545. ciaacrb        
  546.  
  547. ##relative $bfd000
  548. ##offset 0
  549. ##increment $100
  550. ciabpra        
  551. ciabprb        
  552. ciabddra    
  553. ciabddrb    
  554. ciabtalo    
  555. ciabtahi    
  556. ciabtblo    
  557. ciabtbhi    
  558. ciabtodlow    
  559. ciabtodmid    
  560. ciabtodhi    
  561. ciabsdr        
  562. ciabicr        
  563. ciabcra        
  564. ciabcrb        
  565.  
  566. ##end
  567.